package com.cpr.ams.mapper.extend;

import com.cpr.ams.bean.BasePrivilege;
import com.cpr.ams.vm.PrivilegeTree;

import java.util.List;

public interface BasePrivilegeExtendMapper {
    List<PrivilegeTree> selectAll();

    List<BasePrivilege> selectByParentId(int id);

    List<BasePrivilege> selectByRoleId(int id);

    List<BasePrivilege> selectByUserId(int id);

    List<BasePrivilege> selectMenuByUserId(int id);
}
